package chapter06.e24;
class Dog {
    String eat;
    public <T>void show(T t) {
        System.out.println(t);
    }
}

public class E24 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.show("Hello");
        dog.show(12);
        dog.show(12.5);
    }
}

